﻿namespace MassTransitTest.SqlSugarCore
{
    /// <summary>
    /// 从库配置
    /// </summary>
    public class SlaveConfig
    {
        /// <summary>
        /// 命中该库的概率
        /// 必须大于0
        /// </summary>
        public int HitRate { get; set; }

        /// <summary>
        /// 连接串
        /// </summary>
        public string ConnectString { get; set; }
    }
}
